package com.myproject.music.mapper;

import com.myproject.music.domain.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    public Comment selectCommentById(Long id);
    public List<Comment> selectCommentByParam(String creator);
    public int insertComment(Comment comment);
    public int updateComment(Comment comment);
    public int deleteCommentById(Long id);
    public List<Comment> selectCommentAll();
}
